package nl.rainbowsheep.reisorg.rest.service.repository;

import java.util.Set;
import nl.rainbowsheep.reisorg.rest.service.model.Customer;
import nl.rainbowsheep.reisorg.rest.service.model.TravelGroup;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Repository for Travelgroups
 */
public interface TravelGroupRepository extends JpaRepository<TravelGroup, Long> {

    public Set<TravelGroup> findByCustomers(Customer customer);
}
